package com.yzy.soft.system.dto;

import java.io.Serializable;
import java.util.List;

public class NavDto implements Serializable{
    private String id;
    private String title;
    private String icon;
    private String href;
    private String spread;
    private List<NavDto> children;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getIcon() {
        return icon;
    }

    public void setIcon(String icon) {
        this.icon = icon;
    }

    public String getHref() {
        return href;
    }

    public void setHref(String href) {
        this.href = href;
    }

    public String getSpread() {
        return spread;
    }

    public void setSpread(String spread) {
        this.spread = spread;
    }

    public List<NavDto> getChildren() {
        return children;
    }

    public void setChildren(List<NavDto> children) {
        this.children = children;
    }

    public NavDto() {
    }

    public NavDto(String title, String icon, String href, String spread, List<NavDto> children) {
        this.title = title;
        this.icon = icon;
        this.href = href;
        this.spread = spread;
        this.children = children;
    }

    public NavDto(String id, String title, String icon, String href, String spread, List<NavDto> children) {
        this.id = id;
        this.title = title;
        this.icon = icon;
        this.href = href;
        this.spread = spread;
        this.children = children;
    }
}
